package com.panfeng.xcloud.boss.provider.member.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "添加消息公告关系请求")
public class AddNoticeRelationReqDTO implements Serializable {

    @NotNull(message = "公告消息ID不能为空")
    @ApiModelProperty("公告消息ID")
    private Integer noticeMsgId;

    @NotBlank(message = "用户ID不能为空")
    @ApiModelProperty("用户ID")
    private String userId;

}
